FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER liuyf3(liuyf3@guahao.com)

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /opt/projects/fhir

WORKDIR /opt/projects/fhir

ADD ./fhir-client/target/fhir-client-1.0.0-SNAPSHOT.jar ./

EXPOSE 80


CMD java -jar -Xms512m -Xmx512m -Xss256k -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC fhir-client-1.0.0-SNAPSHOT.jar